package cn.snowheart.comination;

import cn.snowheart.comination.menu.Menu;
import cn.snowheart.comination.menu.MenuComponent;

/**
 * 菜单的使用方
 *
 * @author liuwanxiang
 * @version 2019/07/10
 */
public class Waiter {

    private MenuComponent menu;

    public Waiter(MenuComponent menu) {
        this.menu = menu;
    }

    public void print() {
        menu.print();
    }
}
